﻿using Loong.Admin.Users;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Volo.Abp.Domain;
using Volo.Abp.Modularity;

namespace Loong.Admin;

[DependsOn(
    typeof(AbpDddDomainModule),
    typeof(AdminDomainSharedModule),
    typeof(AdminCoreModule)
)]
public class AdminDomainModule : AbpModule
{
    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        context.Services.TryAddScoped<IPasswordValidator, PasswordValidator>();
        context.Services.TryAddScoped<IUserValidator, UserValidator>();
    }
}
